package com.hducms.cms.dao;

import java.util.List;
import java.util.Map;

import com.hducms.cms.entity.assist.CmsComment;
import com.hducms.cms.entity.assist.CmsCommentExt;
import com.hducms.common.page.Pagination;

public interface CmsCommentDao {

	List<CmsComment> getPage(Map<String, Object> map);

	/**
	 * 获取评论总条数
	 * @param cid
	 * @return
	 */
	int countQueryResult(Map<String, Object> map);

	CmsComment findById(Integer id);

	void update(CmsComment bean);

	void updateExt(CmsCommentExt bean);

	void deleteById(Integer id);

	void deleteExtById(Integer id);

	void save(CmsComment bean);

	void saveE(CmsCommentExt bean);

}